package com.wangxiang.shop.product.dao;

import com.wangxiang.shop.product.entity.ClothingSpuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author wangxiang
 * @email 2293672863@qq.com
 * @date 2022-03-14 11:30:20
 */
@Mapper
public interface ClothingSpuDao extends BaseMapper<ClothingSpuEntity> {
	int insertGetKey(ClothingSpuEntity clothingSpuEntity);
	List<ClothingSpuEntity> search(String like);
	ClothingSpuEntity get(int id);
	int updateWare(int id,int wareTotal);
	List<ClothingSpuEntity> getShopList(int id);

}
